package main

import (
	"github.com/urfave/cli"
	"log"
	"os"
)

const (
	_usage = `
	mydocker is a simple container runtime implementation .
The purpose of thos project is to learn how docker works and hw to write
a docker by ourselves 
	Enjoy it,just for fun
`
	_name = "docker"
)

func main() {
	app := cli.NewApp()
	app.Name = _name
	app.Usage = _usage

	app.Commands = []cli.Command{}

	app.Before = func(context *cli.Context) error {

		log.Println("docker run ing")
		return nil
	}

	if err := app.Run(os.Args); err != nil {
		log.Println("docker run error")
	}
}
